taskkill /IM ehshell.exe /F 

taskkill /IM MediaBrowserService.exe /F

%windir%\ehome\RegisterMCEApp.exe /allusers "%ProgramData%\MediaBrowser\MediaBrowserWS\DLL\Registration.xml" /u

"C:\ProgramData\MediaBrowser\MediaBrowserWS\DLL\gacutil.exe" /u "MediaBrowserWS"
"C:\ProgramData\MediaBrowser\MediaBrowserWS\DLL\gacutil.exe" /u "MBWebService.Client"
"C:\ProgramData\MediaBrowser\MediaBrowserWS\DLL\gacutil.exe" /u "MBWebService.Core"

rd /s /q "c:\Windows\assembly\GAC_MSIL\MediaBrowserWS\"

rd /s /q "c:\Windows\assembly\GAC_MSIL\MBWebService.Client\"

rd /s /q "c:\Windows\assembly\GAC_MSIL\MBWebService.Core\"